home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.1 (Developer) [x86] / NeXT Step 3.1 Intel dev.cdr.dmg / NextDeveloper / Examples / AppKit / Draw / graphicsUndo.subproj / GraphicsChange.h < prev    next >
Text File  |  1993-01-05  |  961b  |  38 lines

  1. /*
  2.  * Please refer to external documentation about Draw
  3.  * with Undo for information about what GraphicsChange 
  4.  * is and where it fits in.
  5.  */
  6.  
  7. @interface GraphicsChange : Change
  8. {
  9.     id graphicView;        /* the view this change is done in */
  10.     List *changeDetails;    /* instances of ChangeDetail used to
  11.                        record information about the state
  12.                    particular graphics involved in the
  13.                    change */
  14.     List *graphicsToChange;    /* list of graphics to affect if different
  15.                    than the selected graphics */
  16.     List *graphics;        /* the graphics involved in the change,
  17.                        usually the graphics that were 
  18.                    selected at the time of the change */
  19. }
  20.  
  21. /* Initializing and Freeing a GraphicsChange */
  22.  
  23. - initGraphicView:aGraphicView;
  24. - initGraphicView:aGraphicView forChangeToGraphic:aGraphic;
  25. - free;
  26.  
  27. /* Methods overridden from Change */
  28.  
  29. - saveBeforeChange;
  30. - undoChange;
  31. - redoChange;
  32.  
  33. /* Other public methods */
  34.  
  35. - changeDetailClass;
  36.  
  37. @end
  38.